home *** CD-ROM | disk | FTP | other *** search
- /*
- * This file is part of the portable Forth environment written in ANSI C.
- * Copyright (C) 1995 Dirk Uwe Zoller
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * This file is version 0.9.13 of 17-July-95
- * Check for the latest version of this package via anonymous ftp at
- * roxi.rz.fht-mannheim.de:/pub/languages/forth/pfe-VERSION.tar.gz
- * or sunsite.unc.edu:/pub/languages/forth/pfe-VERSION.tar.gz
- * or ftp.cygnus.com:/pub/forth/pfe-VERSION.tar.gz
- *
- * Please direct any comments via internet to
- * duz@roxi.rz.fht-mannheim.de.
- * Thank You.
- */
- /*
- * This file is part of the portable Forth environment written in ANSI C.
- * Copyright (C) 1994 Dirk Uwe Zoller
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * This file is version 0.9.11 of 03-Apr-95
- * Check for the latest version of this package via anonymous ftp at
- * roxi.rz.fht-mannheim.de:/pub/languages/forth/pfe-VERSION.tar.gz
- * or sunsite.unc.edu:/pub/languages/forth/pfe-VERSION.tar.gz
- * or ftp.cygnus.com:/pub/forth/pfe-VERSION.tar.gz
- *
- * Please direct any comments via internet to
- * duz@roxi.rz.fht-mannheim.de.
- * Thank You.
- */
- /*
- * missing.h --- declarations sometimes missing.
- * This file is included after all system includes.
- * (duz 03Nov94)
- */
-
-
- #ifndef STDIN_FILENO
- # define STDIN_FILENO 0
- #endif
- #ifndef STDOUT_FILENO
- # define STDOUT_FILENO 1
- #endif
- #ifndef STDERR_FILENO
- # define STDERR_FILENO 2
- #endif
-
-
- #ifndef SEEK_SET
- # define SEEK_SET 0 /* Set file pointer to "offset" */
- #endif
- #ifndef SEEK_CUR
- # define SEEK_CUR 1 /* Set file pointer to current plus "offset" */
- #endif
- #ifndef SEEK_END
- # define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
- #endif
-
-
- #ifndef F_OK
- # define F_OK 0
- #endif
- #ifndef X_OK
- # define X_OK 1
- #endif
- #ifndef W_OK
- # define W_OK 2
- #endif
- #ifndef R_OK
- # define R_OK 4
- #endif
-
- #ifndef S_IREAD
- # define S_IREAD S_IRUSR
- #endif
- #ifndef S_IWRITE
- # define S_IWRITE S_IWUSR
- #endif
- #ifndef S_IEXEC
- # define S_IEXEC S_IXUSR
- #endif
-
-
- #ifndef isascii
- # define isascii(X) ((unsigned char)(X) < 0x80)
- #endif
-
-
- #ifndef EPERM
- # define EPERM -1
- #endif
-
-
- #if defined WC_OS2V2 && !defined SIG_ACK
- # define SIG_ACK ((void (*)(int))4)
- #endif
-